<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>without bootstrap</title>
    <script src="dist/jquery-3.4.1.slim.min.js"></script>
    <link href="dist/summernote-lite.min.css" rel="stylesheet">
    <script src="dist/summernote-lite.min.js"></script>
    <script src="dist/lang/summernote-zh-CN.min.js"></script>
</head>

<body>
    <div id="summernote"></div>
    <script>
        $('#summernote').summernote({
            placeholder: '请输入内容',
            height: 600,
            focus: true,
            lang: 'zh-CN',
            colorButton: {
                backColor: 'transparent',
            },
            callbacks: {
                onImageUpload: function(files) {
                    // 自定义上传图片
                    console.log(arguments,16565);
                    $('#summernote').summernote('insertImage', "https://overseafile.horion.com/horion/oversea/1471.png");
                }
            },
        });
    </script>
</body>

</html>
